
from django.contrib import admin
from django.urls import path, include
from . import views
from django.views.generic import TemplateView

app_name = 'front5'

urlpatterns = [
    path('index/', views.index, name='index'),
    path('add_article/', views.add_article, name='add_article'),
    path('list/', views.ArticleListView.as_view(), name='article_list'),
    path('login/', views.login, name='login'),
    path('profile/', views.ProfileView.as_view(), name='profile'),
]